﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace _1906Ultras.Model
{
    public class Song
    {

        private string _title = "";

        public string Title
        {
            get { return HttpUtility.HtmlDecode(_title); }
            set { _title = string.IsNullOrEmpty(value) ? "(unknown title)" : value; }
        }

        private string _lyrics;

        public string Lyrics
        {
            get { return HttpUtility.HtmlDecode(_lyrics); }
            set { _lyrics = value; }
        }

        public string CleanLyrics
        {
            get
            {
                var newstring = Lyrics.Replace("fuck", "f***").Replace("Marijuana", "M********");
                return newstring;
            }
        }
    }
}
